<template>
  <div class="fuyunmu2 base-background-img">
    <div class="ie" @click="playFun(ie)">
        <img src="~@/assets/youxiaoxianjie/fuyunmu/2/ie.png">
    </div>
    <div class="ue" @click="playFun(ue)">
        <img src="~@/assets/youxiaoxianjie/fuyunmu/2/ue.png">
    </div>
    <div class="er" @click="playFun(er)">
        <img src="~@/assets/youxiaoxianjie/fuyunmu/2/er.png">
    </div>
    <c-pdf @closePdf="closePdf" v-if="isshowpdf" :info="info" :infourl="pdfurl"></c-pdf>
  </div>
</template>

<script>
  export default {
    name: 'fuyunmu2',
    data () {
      return {
        isshowpdf: false,
        infourl: '',
        info: '',
        ie: {
          url: 'static/youxiao/pdf/fuyunmu/ie.pdf',
          data: []
        },
        ue: {
          url: 'static/youxiao/pdf/fuyunmu/uue.pdf',
          data: []
        },
        er: {
          url: 'static/youxiao/pdf/fuyunmu/er.pdf',
          data: []
        }
      }
    },
    methods: {
      playFun: function (item) {
        console.log(item)
        this.isshowpdf = true
        this.pdfurl = item.url
        this.info = item.data
      },
      closePdf: function () {
        this.isshowpdf = false
      }
    }
  }
</script>

<style scoped>
.fuyunmu2 {
  background: url(~@/assets/youxiaoxianjie/fuyunmu/2/bg.png);
}
.fuyunmu2 > div {
  position: absolute; 
}
.ie {
  top: 275px;
  left: 218px;
}
.ue {
  top: 270px;
  left: 515px;
}
.er {
  top: 282px;
  left: 878px;
}
</style>
